package com.saboteur;

import com.saboteur.CardInfo;

public class Constants {
   
	
	
	public static final int NULL = -1;
	public static final int PATH_CARD = 1;
	public static final int ACTION_CARD = 2;
	
	public static final int HOLD =1;
	public static final int NO_HOLD =0;
	
	public static final int PIPE =1;
	public static final int NO_PIPE =0;
	public static final int CRYSTAL =2;
	public static final int BLUE_DOOR =3;
	public static final int GREEN_DOOR =4;
	public static final int LADDER =5;
	public static final int STONE =6;
	public static final int GOLD =9;

	public static final int BAN_PICKAXE =11;
	public static final int BAN_CAR =9;
	public static final int BAN_LIGHT =13;
	public static final int BAN_DOOR =18;
	public static final int ACTIVATE_PICKAXE =10;
	public static final int ACTIVATE_CAR =8;
	public static final int ACTIVATE_LIGHT =12;
	public static final int ACTIVATE_DOOR =17;
	public static final int ACTIVATE_CAR_AND_LIGHT =15;
	public static final int ACTIVATE_LIGHT_AND_PICKAXE =16;
	public static final int ACTIVATE_PICKAXE_AND_CAR =14;
	public static final int ACTIVATE_STEAL_SKILL =6;
	public static final int BAN_STEAL_SKILL =7;
	public static final int EXCHANGE_HAND =4;
	public static final int DETECT_PLAYER_ROLE =3;
	public static final int DESTROY_PATH =1;
	public static final int DETECT_BOARD_END =2;
	public static final int CHANGE_ROLE =5;
	
	public static final CardInfo[] allCards = new CardInfo[]{
			new CardInfo(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
		/*	new CardInfo(1,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,LADDER,LADDER,LADDER,LADDER,LADDER,LADDER),
			new CardInfo(2,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,GOLD,GOLD,GOLD,GOLD,GOLD,GOLD),
			new CardInfo(3,PATH_CARD,NULL,NO_HOLD,NO_HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,STONE,NO_PIPE),
			new CardInfo(4,PATH_CARD,NULL,NO_HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,STONE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			
			new CardInfo(5,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(6,PATH_CARD,NULL,NO_HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(7,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(8,PATH_CARD,NULL,NO_HOLD,HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(9,PATH_CARD,NULL,NO_HOLD,NO_HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(10,PATH_CARD,NULL,NO_HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(11,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(12,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(13,PATH_CARD,NULL,NO_HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),

			
			new CardInfo(45,PATH_CARD,NULL,NO_HOLD,NO_HOLD,LADDER,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(46,PATH_CARD,NULL,NO_HOLD,NO_HOLD,NO_HOLD,LADDER,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(47,PATH_CARD,NULL,HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,LADDER),
			new CardInfo(48,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,LADDER,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(49,PATH_CARD,NULL,NO_HOLD,NO_HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,BLUE_DOOR,NO_PIPE),
			new CardInfo(50,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,BLUE_DOOR,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(51,PATH_CARD,NULL,NO_HOLD,HOLD,NO_HOLD,HOLD,BLUE_DOOR,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			*/
			new CardInfo(1,PATH_CARD,NULL,LADDER,LADDER,LADDER,LADDER,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(2,PATH_CARD,NULL,GOLD,GOLD,GOLD,GOLD,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(3,PATH_CARD,NULL,NO_HOLD,NO_HOLD,STONE,STONE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(4,PATH_CARD,NULL,NO_HOLD,STONE,STONE,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			
			new CardInfo(5,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(6,PATH_CARD,NULL,NO_HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(7,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(8,PATH_CARD,NULL,NO_HOLD,HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(9,PATH_CARD,NULL,NO_HOLD,NO_HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(10,PATH_CARD,NULL,NO_HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(11,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(12,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(13,PATH_CARD,NULL,NO_HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(14,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(15,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(16,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(17,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(18,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(19,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(20,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(21,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(22,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(23,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(24,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(25,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(26,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(27,PATH_CARD,NULL,HOLD,NO_HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(28,PATH_CARD,NULL,NO_HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(29,PATH_CARD,NULL,NO_HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(30,PATH_CARD,NULL,NO_HOLD,HOLD,NO_HOLD,HOLD,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(31,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(32,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(33,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(34,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(35,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(36,PATH_CARD,NULL,HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE),
			new CardInfo(37,PATH_CARD,NULL,HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE),
			new CardInfo(38,PATH_CARD,NULL,HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE),
			new CardInfo(39,PATH_CARD,NULL,HOLD,NO_HOLD,NO_HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE),
			new CardInfo(40,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(41,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(42,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(43,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(44,PATH_CARD,NULL,HOLD,HOLD,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			
			new CardInfo(45,PATH_CARD,NULL,NO_HOLD,NO_HOLD,LADDER,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(46,PATH_CARD,NULL,NO_HOLD,NO_HOLD,NO_HOLD,LADDER,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(47,PATH_CARD,NULL,LADDER,NO_HOLD,NO_HOLD,LADDER,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE),
			new CardInfo(48,PATH_CARD,NULL,LADDER,LADDER,NO_HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(49,PATH_CARD,NULL,NO_HOLD,NO_HOLD,BLUE_DOOR,BLUE_DOOR,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,PIPE,NO_PIPE),
			new CardInfo(50,PATH_CARD,NULL,BLUE_DOOR,NO_HOLD,BLUE_DOOR,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(51,PATH_CARD,NULL,NO_HOLD,BLUE_DOOR,NO_HOLD,BLUE_DOOR,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			
			new CardInfo(52,PATH_CARD,NULL,NO_HOLD,CRYSTAL,CRYSTAL,CRYSTAL,PIPE,NO_PIPE,NO_PIPE,PIPE,PIPE,NO_PIPE),
			new CardInfo(53,PATH_CARD,NULL,NO_HOLD,CRYSTAL,CRYSTAL,CRYSTAL,PIPE,NO_PIPE,NO_PIPE,PIPE,PIPE,NO_PIPE),
			new CardInfo(54,PATH_CARD,NULL,NO_HOLD,CRYSTAL,CRYSTAL,CRYSTAL,PIPE,NO_PIPE,NO_PIPE,PIPE,PIPE,NO_PIPE),
			new CardInfo(55,PATH_CARD,NULL,HOLD,CRYSTAL,CRYSTAL,CRYSTAL,PIPE,NO_PIPE,NO_PIPE,PIPE,PIPE,NO_PIPE),
			new CardInfo(56,PATH_CARD,NULL,NO_HOLD,NO_HOLD,CRYSTAL,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(57,PATH_CARD,NULL,CRYSTAL,CRYSTAL,CRYSTAL,NO_HOLD,NO_PIPE,PIPE,PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(58,PATH_CARD,NULL,NO_HOLD,CRYSTAL,HOLD,CRYSTAL,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(59,PATH_CARD,NULL,NO_HOLD,NO_HOLD,NO_HOLD,CRYSTAL,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(60,PATH_CARD,NULL,CRYSTAL,HOLD,CRYSTAL,CRYSTAL,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,PIPE,PIPE),
			new CardInfo(61,PATH_CARD,NULL,CRYSTAL,CRYSTAL,CRYSTAL,CRYSTAL,PIPE,PIPE,PIPE,PIPE,PIPE,PIPE),
			new CardInfo(62,PATH_CARD,NULL,GREEN_DOOR,HOLD,GREEN_DOOR,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(63,PATH_CARD,NULL,NO_HOLD,GREEN_DOOR,NO_HOLD,GREEN_DOOR,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(64,PATH_CARD,NULL,NO_HOLD,GREEN_DOOR,GREEN_DOOR,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(65,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(66,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(67,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(68,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(69,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(70,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(71,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(72,PATH_CARD,NULL,HOLD,HOLD,HOLD,NO_HOLD,NO_PIPE,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,NO_PIPE),
			new CardInfo(73,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE),
			new CardInfo(74,PATH_CARD,NULL,HOLD,HOLD,HOLD,HOLD,NO_PIPE,NO_PIPE,PIPE,NO_PIPE,PIPE,NO_PIPE),
			
			new CardInfo(75,ACTION_CARD,DESTROY_PATH,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(76,ACTION_CARD,DESTROY_PATH,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(77,ACTION_CARD,DESTROY_PATH,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(78,ACTION_CARD,DESTROY_PATH,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(79,ACTION_CARD,DETECT_BOARD_END,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(80,ACTION_CARD,DETECT_BOARD_END,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(81,ACTION_CARD,DETECT_BOARD_END,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(82,ACTION_CARD,DETECT_BOARD_END,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(83,ACTION_CARD,DETECT_BOARD_END,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(84,ACTION_CARD,DETECT_BOARD_END,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(85,ACTION_CARD,DETECT_PLAYER_ROLE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(86,ACTION_CARD,DETECT_PLAYER_ROLE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(87,ACTION_CARD,EXCHANGE_HAND,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(88,ACTION_CARD,EXCHANGE_HAND,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(89,ACTION_CARD,CHANGE_ROLE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(90,ACTION_CARD,CHANGE_ROLE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(91,ACTION_CARD,ACTIVATE_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(92,ACTION_CARD,ACTIVATE_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(93,ACTION_CARD,ACTIVATE_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(94,ACTION_CARD,ACTIVATE_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(95,ACTION_CARD,BAN_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(96,ACTION_CARD,BAN_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(97,ACTION_CARD,BAN_STEAL_SKILL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(98,ACTION_CARD,ACTIVATE_CAR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(99,ACTION_CARD,ACTIVATE_CAR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(100,ACTION_CARD,BAN_CAR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(101,ACTION_CARD,BAN_CAR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(102,ACTION_CARD,BAN_CAR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(103,ACTION_CARD,ACTIVATE_PICKAXE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(104,ACTION_CARD,ACTIVATE_PICKAXE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(105,ACTION_CARD,BAN_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(106,ACTION_CARD,BAN_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(107,ACTION_CARD,BAN_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(108,ACTION_CARD,ACTIVATE_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(109,ACTION_CARD,ACTIVATE_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(110,ACTION_CARD,BAN_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(111,ACTION_CARD,BAN_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(112,ACTION_CARD,BAN_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(113,ACTION_CARD,ACTIVATE_PICKAXE_AND_CAR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(114,ACTION_CARD,ACTIVATE_CAR_AND_LIGHT,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(115,ACTION_CARD,ACTIVATE_LIGHT_AND_PICKAXE,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(116,ACTION_CARD,ACTIVATE_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(117,ACTION_CARD,ACTIVATE_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(118,ACTION_CARD,ACTIVATE_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(119,ACTION_CARD,BAN_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(120,ACTION_CARD,BAN_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(121,ACTION_CARD,BAN_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
			new CardInfo(122,ACTION_CARD,BAN_DOOR,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
		};

	
	
	public static final CardInfo GetCardInfo(String id){
		if(id.indexOf("b") > 0){
			id = id.substring(0, id.length()-1);
			return InvertCard(allCards[Integer.valueOf(id).intValue()]);
		}
		else
			return allCards[Integer.valueOf(id).intValue()];
	}
	
	public static final CardInfo InvertCard(CardInfo card){
		int temp;
		temp = card.eHold;
		card.eHold = card.wHold;
		card.wHold = temp;
		
		temp = card.enPipe;
		card.enPipe = card.wsPipe;
		card.wsPipe = temp;
		
		temp = card.esPipe;
		card.esPipe = card.wnPipe;
		card.wnPipe = temp;
		
		return card;
	}
}